﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200039F RID: 927
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DeleteFriendScRsp : IMessage<DeleteFriendScRsp>, IMessage, IEquatable<DeleteFriendScRsp>, IDeepCloneable<DeleteFriendScRsp>, IBufferMessage
	{
		// Token: 0x17000BE9 RID: 3049
		// (get) Token: 0x06002980 RID: 10624 RVA: 0x00073044 File Offset: 0x00071244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DeleteFriendScRsp> Parser
		{
			get
			{
				return DeleteFriendScRsp._parser;
			}
		}

		// Token: 0x17000BEA RID: 3050
		// (get) Token: 0x06002981 RID: 10625 RVA: 0x0007304B File Offset: 0x0007124B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DeleteFriendScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000BEB RID: 3051
		// (get) Token: 0x06002982 RID: 10626 RVA: 0x0007305D File Offset: 0x0007125D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DeleteFriendScRsp.Descriptor;
			}
		}

		// Token: 0x06002983 RID: 10627 RVA: 0x00073064 File Offset: 0x00071264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteFriendScRsp()
		{
		}

		// Token: 0x06002984 RID: 10628 RVA: 0x0007306C File Offset: 0x0007126C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteFriendScRsp(DeleteFriendScRsp other) : this()
		{
			this.uid_ = other.uid_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002985 RID: 10629 RVA: 0x0007309D File Offset: 0x0007129D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeleteFriendScRsp Clone()
		{
			return new DeleteFriendScRsp(this);
		}

		// Token: 0x17000BEC RID: 3052
		// (get) Token: 0x06002986 RID: 10630 RVA: 0x000730A5 File Offset: 0x000712A5
		// (set) Token: 0x06002987 RID: 10631 RVA: 0x000730AD File Offset: 0x000712AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x17000BED RID: 3053
		// (get) Token: 0x06002988 RID: 10632 RVA: 0x000730B6 File Offset: 0x000712B6
		// (set) Token: 0x06002989 RID: 10633 RVA: 0x000730BE File Offset: 0x000712BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600298A RID: 10634 RVA: 0x000730C7 File Offset: 0x000712C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DeleteFriendScRsp);
		}

		// Token: 0x0600298B RID: 10635 RVA: 0x000730D5 File Offset: 0x000712D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DeleteFriendScRsp other)
		{
			return other != null && (other == this || (this.Uid == other.Uid && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600298C RID: 10636 RVA: 0x00073114 File Offset: 0x00071314
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600298D RID: 10637 RVA: 0x0007316C File Offset: 0x0007136C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600298E RID: 10638 RVA: 0x00073174 File Offset: 0x00071374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600298F RID: 10639 RVA: 0x00073180 File Offset: 0x00071380
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.Uid != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Uid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002990 RID: 10640 RVA: 0x000731DC File Offset: 0x000713DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002991 RID: 10641 RVA: 0x00073234 File Offset: 0x00071434
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DeleteFriendScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002992 RID: 10642 RVA: 0x00073284 File Offset: 0x00071484
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002993 RID: 10643 RVA: 0x00073290 File Offset: 0x00071490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Uid = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001071 RID: 4209
		private static readonly MessageParser<DeleteFriendScRsp> _parser = new MessageParser<DeleteFriendScRsp>(() => new DeleteFriendScRsp());

		// Token: 0x04001072 RID: 4210
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001073 RID: 4211
		public const int UidFieldNumber = 15;

		// Token: 0x04001074 RID: 4212
		private uint uid_;

		// Token: 0x04001075 RID: 4213
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04001076 RID: 4214
		private uint retcode_;
	}
}
